import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 导入vant组件
import '@/utils/vant'
// 导入rem适配包 会自动的给页面的 html 设置 font-size
import 'amfe-flexible'

import './styles/base.less'

// 全局过滤器
import moment from 'moment'
moment.locale('zh-cn')
Vue.filter('fromNow', (timer) => moment(timer).fromNow())
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app')
